+Wed Jan 19 17:17:31 2005 Manish Singh <yosh@gimp.org>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
+ strict aliasing warning in _NET_VIRTUAL_ROOTS code.
+
2005-01-19 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkkeys-win32.c (update_keymap,
+Wed Jan 19 17:17:31 2005 Manish Singh <yosh@gimp.org>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
+ strict aliasing warning in _NET_VIRTUAL_ROOTS code.
+
2005-01-19 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkkeys-win32.c (update_keymap,
+Wed Jan 19 17:17:31 2005 Manish Singh <yosh@gimp.org>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
+ strict aliasing warning in _NET_VIRTUAL_ROOTS code.
+
2005-01-19 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkkeys-win32.c (update_keymap,
Window xparent;
Window root;
Window *children;
+ guchar *data;
Window *vroots;
Atom type_return;
unsigned int nchildren;
"_NET_VIRTUAL_ROOTS"),
0, 0x7fffffff, False, XA_WINDOW, &type_return,
&format_return, &nitems_return, &bytes_after_return,
- (unsigned char **)(&vroots))
+ &data)
== Success)
{
- if ((type_return == XA_WINDOW) && (format_return == 32) && (vroots))
- nvroots = nitems_return;
+ if ((type_return == XA_WINDOW) && (format_return == 32) && (data))
+ {
+ nvroots = nitems_return;
+ vroots = (Window *)data;
+ }
}
xparent = GDK_WINDOW_XID (window);